#include <asm.h>
#include <regdef.h>
#include <inst_test.h>

LEAF(n3_addiu_test)
    .set noreorder
    addiu s0, s0 ,1
    li  s2, 0x0
###test inst
    TEST_ADDIU(0xfb263d10, 0x0000ec96, 0xfb2629a6)
    TEST_ADDIU(0x7ec10538, 0x00000996, 0x7ec10ece)
    TEST_ADDIU(0x0e505a00, 0x0000b718, 0x0e501118)
    TEST_ADDIU(0xa522b9d7, 0x0000c784, 0xa522815b)
    TEST_ADDIU(0x9b45d7c0, 0x0000b6d2, 0x9b458e92)
    TEST_ADDIU(0xa4c655b8, 0x0000ac62, 0xa4c6021a)
    TEST_ADDIU(0xa52b697a, 0x0000b159, 0xa52b1ad3)
    TEST_ADDIU(0xdcc82666, 0x0000675b, 0xdcc88dc1)
    TEST_ADDIU(0xab24a3c3, 0x00000b0f, 0xab24aed2)
    TEST_ADDIU(0xdb650604, 0x0000a9ef, 0xdb64aff3)
    TEST_ADDIU(0x7a305380, 0x0000f974, 0x7a304cf4)
    TEST_ADDIU(0x6bafed18, 0x0000d39e, 0x6bafc0b6)
    TEST_ADDIU(0x76de1bd0, 0x0000025d, 0x76de1e2d)
    TEST_ADDIU(0xc330d268, 0x00006912, 0xc3313b7a)
    TEST_ADDIU(0x2d2701f1, 0x000040ef, 0x2d2742e0)
    TEST_ADDIU(0x5454990a, 0x00003779, 0x5454d083)
    TEST_ADDIU(0x21b8cf00, 0x0000a8f8, 0x21b877f8)
    TEST_ADDIU(0x44e31f12, 0x0000b380, 0x44e2d292)
    TEST_ADDIU(0x40f8f8f8, 0x0000b7b0, 0x40f8b0a8)
    TEST_ADDIU(0xd50073d0, 0x000062f7, 0xd500d6c7)
    TEST_ADDIU(0x5226e1b0, 0x0000c51c, 0x5226a6cc)
    TEST_ADDIU(0x25148680, 0x0000fd40, 0x251483c0)
    TEST_ADDIU(0xafd55a35, 0x0000ae3c, 0xafd50871)
    TEST_ADDIU(0xfab9b6bf, 0x000025cc, 0xfab9dc8b)
    TEST_ADDIU(0xab40e400, 0x000033b8, 0xab4117b8)
    TEST_ADDIU(0x3ee87380, 0x0000e8a6, 0x3ee85c26)
    TEST_ADDIU(0x2b0bf1ba, 0x00002cf0, 0x2b0c1eaa)
    TEST_ADDIU(0x02b5b620, 0x0000c64b, 0x02b57c6b)
    TEST_ADDIU(0xe61df57a, 0x00007068, 0xe61e65e2)
    TEST_ADDIU(0x992f982c, 0x0000a1c8, 0x992f39f4)
    TEST_ADDIU(0x193ae478, 0x0000a733, 0x193a8bab)
    TEST_ADDIU(0xb7554a70, 0x0000263a, 0xb75570aa)
    TEST_ADDIU(0xe6644fa0, 0x00006f78, 0xe664bf18)
    TEST_ADDIU(0xdeff13d4, 0x00003dc7, 0xdeff519b)
    TEST_ADDIU(0x5c07037c, 0x00003e56, 0x5c0741d2)
    TEST_ADDIU(0xc06c54f0, 0x0000c2b0, 0xc06c17a0)
    TEST_ADDIU(0xf5f6a31c, 0x00000700, 0xf5f6aa1c)
    TEST_ADDIU(0x8da08d64, 0x00007304, 0x8da10068)
    TEST_ADDIU(0x2f398330, 0x00002680, 0x2f39a9b0)
    TEST_ADDIU(0x16b44d6e, 0x00008d58, 0x16b3dac6)
    TEST_ADDIU(0xa79f87b2, 0x0000d18f, 0xa79f5941)
    TEST_ADDIU(0x52a8369a, 0x000076a0, 0x52a8ad3a)
    TEST_ADDIU(0x18c0f00e, 0x0000bf8e, 0x18c0af9c)
    TEST_ADDIU(0x33fbb9c0, 0x0000b965, 0x33fb7325)
    TEST_ADDIU(0x70c8b0f7, 0x0000be62, 0x70c86f59)
    TEST_ADDIU(0x3f0194b4, 0x00007ed4, 0x3f021388)
    TEST_ADDIU(0xc5c166c0, 0x00007616, 0xc5c1dcd6)
    TEST_ADDIU(0x12120460, 0x000024e0, 0x12122940)
    TEST_ADDIU(0x2dbde4c6, 0x00004417, 0x2dbe28dd)
    TEST_ADDIU(0xfb9ed352, 0x0000dc22, 0xfb9eaf74)
    TEST_ADDIU(0x8ae66da0, 0x0000bb80, 0x8ae62920)
    TEST_ADDIU(0x4922a928, 0x0000f0b8, 0x492299e0)
    TEST_ADDIU(0x88342ebf, 0x0000f007, 0x88341ec6)
    TEST_ADDIU(0x317b5020, 0x00004d30, 0x317b9d50)
    TEST_ADDIU(0x56c1d82b, 0x00000c3c, 0x56c1e467)
    TEST_ADDIU(0xbcdc3430, 0x00005ce2, 0xbcdc9112)
    TEST_ADDIU(0x1f975489, 0x00000220, 0x1f9756a9)
    TEST_ADDIU(0x9a8bd8c0, 0x0000eab7, 0x9a8bc377)
    TEST_ADDIU(0x726bce28, 0x0000fd24, 0x726bcb4c)
    TEST_ADDIU(0x13a0bb50, 0x000054c8, 0x13a11018)
    TEST_ADDIU(0x0a528fe0, 0x00007e90, 0x0a530e70)
    TEST_ADDIU(0x70338696, 0x00009381, 0x70331a17)
    TEST_ADDIU(0x9612bf68, 0x000086ec, 0x96124654)
    TEST_ADDIU(0x29f1cbfc, 0x00005be4, 0x29f227e0)
    TEST_ADDIU(0xbb541048, 0x00003c6a, 0xbb544cb2)
    TEST_ADDIU(0x9edd7138, 0x000029c0, 0x9edd9af8)
    TEST_ADDIU(0xa608d4a8, 0x0000871b, 0xa6085bc3)
    TEST_ADDIU(0x0e35d674, 0x000004d6, 0x0e35db4a)
    TEST_ADDIU(0x0b3a17e8, 0x0000d3f8, 0x0b39ebe0)
    TEST_ADDIU(0xfc4b4e00, 0x0000bd0a, 0xfc4b0b0a)
    TEST_ADDIU(0xcd350818, 0x0000b7e4, 0xcd34bffc)
    TEST_ADDIU(0x67296578, 0x00006330, 0x6729c8a8)
    TEST_ADDIU(0xe5b1f42a, 0x00001b64, 0xe5b20f8e)
    TEST_ADDIU(0xd814f8b8, 0x00002f5a, 0xd8152812)
    TEST_ADDIU(0xb0f445a2, 0x00003818, 0xb0f47dba)
    TEST_ADDIU(0x97644268, 0x00006808, 0x9764aa70)
    TEST_ADDIU(0x2ce484d1, 0x0000b29a, 0x2ce4376b)
    TEST_ADDIU(0x8a3beb89, 0x0000bee0, 0x8a3baa69)
    TEST_ADDIU(0x3e64a422, 0x0000f7fa, 0x3e649c1c)
    TEST_ADDIU(0x363f5f5a, 0x00006ea4, 0x363fcdfe)
    TEST_ADDIU(0x9b14a354, 0x000020c0, 0x9b14c414)
    TEST_ADDIU(0x22733f48, 0x0000f49e, 0x227333e6)
    TEST_ADDIU(0x018b8160, 0x0000e23e, 0x018b639e)
    TEST_ADDIU(0x584e80ae, 0x0000fbff, 0x584e7cad)
    TEST_ADDIU(0x9fe30c58, 0x0000863c, 0x9fe29294)
    TEST_ADDIU(0x045aa874, 0x00008418, 0x045a2c8c)
    TEST_ADDIU(0xf890cfc0, 0x0000e16c, 0xf890b12c)
    TEST_ADDIU(0xaebdc18e, 0x0000a790, 0xaebd691e)
    TEST_ADDIU(0xd04949c0, 0x00001af8, 0xd04964b8)
    TEST_ADDIU(0x74943d80, 0x000049fc, 0x7494877c)
    TEST_ADDIU(0x383ecfd8, 0x0000d9f8, 0x383ea9d0)
    TEST_ADDIU(0x3d2dae08, 0x00007bbe, 0x3d2e29c6)
    TEST_ADDIU(0xf3992fc0, 0x000070e8, 0xf399a0a8)
    TEST_ADDIU(0xa7749c20, 0x0000df30, 0xa7747b50)
    TEST_ADDIU(0x92556ce8, 0x000046d8, 0x9255b3c0)
    TEST_ADDIU(0xaa139e00, 0x0000a98a, 0xaa13478a)
    TEST_ADDIU(0xd0a2ede0, 0x00004b2e, 0xd0a3390e)
    TEST_ADDIU(0xc1ace9cc, 0x0000473b, 0xc1ad3107)
    TEST_ADDIU(0xdbd9f2a0, 0x00002380, 0xdbda1620)
    TEST_ADDIU(0x0f650db8, 0x00003b92, 0x0f65494a)
    TEST_ADDIU(0x550f1e96, 0x0000bb74, 0x550eda0a)
    TEST_ADDIU(0xd1ce32b8, 0x00009b80, 0xd1cdce38)
    TEST_ADDIU(0x3afc2d2a, 0x00005d5b, 0x3afc8a85)
    TEST_ADDIU(0x1fe5c9fc, 0x000001f4, 0x1fe5cbf0)
    TEST_ADDIU(0xc3ce865a, 0x0000bb9f, 0xc3ce41f9)
    TEST_ADDIU(0x78a0a5c0, 0x0000af78, 0x78a05538)
    TEST_ADDIU(0x70359bfe, 0x000006fa, 0x7035a2f8)
    TEST_ADDIU(0x4320a31e, 0x000083cc, 0x432026ea)
    TEST_ADDIU(0x59dfac54, 0x00007d1c, 0x59e02970)
    TEST_ADDIU(0x45d87ca0, 0x0000d980, 0x45d85620)
    TEST_ADDIU(0x049ec678, 0x000088b6, 0x049e4f2e)
    TEST_ADDIU(0x0c88f0c8, 0x00002a72, 0x0c891b3a)
    TEST_ADDIU(0x8a250cd0, 0x0000b540, 0x8a24c210)
    TEST_ADDIU(0xae8225b3, 0x0000c62c, 0xae81ebdf)
    TEST_ADDIU(0xd8a748bc, 0x0000d6f9, 0xd8a71fb5)
    TEST_ADDIU(0x75f0666e, 0x000026c8, 0x75f08d36)
    TEST_ADDIU(0x257cf136, 0x0000d049, 0x257cc17f)
    TEST_ADDIU(0xc040fc10, 0x00007d28, 0xc0417938)
    TEST_ADDIU(0x5ac0c900, 0x0000775d, 0x5ac1405d)
    TEST_ADDIU(0xaa1e08d6, 0x0000228d, 0xaa1e2b63)
    TEST_ADDIU(0xdca90938, 0x00006c98, 0xdca975d0)
    TEST_ADDIU(0x0ee74178, 0x00009746, 0x0ee6d8be)
    TEST_ADDIU(0xf07ec654, 0x00007205, 0xf07f3859)
    TEST_ADDIU(0x129442f0, 0x0000bc93, 0x1293ff83)
    TEST_ADDIU(0xda5905ae, 0x0000a34a, 0xda58a8f8)
    TEST_ADDIU(0x1320b60c, 0x0000d738, 0x13208d44)
    TEST_ADDIU(0x666018b8, 0x00008140, 0x665f99f8)
    TEST_ADDIU(0x66115c20, 0x00008d09, 0x6610e929)
    TEST_ADDIU(0xc69c630b, 0x00007b9c, 0xc69cdea7)
    TEST_ADDIU(0x3c239e76, 0x000099d3, 0x3c233849)
    TEST_ADDIU(0x734e33be, 0x0000b074, 0x734de432)
    TEST_ADDIU(0x97b89b4e, 0x00004c6c, 0x97b8e7ba)
    TEST_ADDIU(0xa6e43470, 0x00002cc0, 0xa6e46130)
    TEST_ADDIU(0x416380e4, 0x00006220, 0x4163e304)
    TEST_ADDIU(0x202f7d04, 0x0000b5a0, 0x202f32a4)
    TEST_ADDIU(0x8e7b1468, 0x0000bd63, 0x8e7ad1cb)
    TEST_ADDIU(0xca5f74d8, 0x00009dce, 0xca5f12a6)
    TEST_ADDIU(0x2d48f224, 0x00006454, 0x2d495678)
    TEST_ADDIU(0x5ca6da5e, 0x0000b120, 0x5ca68b7e)
    TEST_ADDIU(0xefba1c20, 0x0000a698, 0xefb9c2b8)
    TEST_ADDIU(0x40608d84, 0x00000eb5, 0x40609c39)
    TEST_ADDIU(0x781fb773, 0x00006386, 0x78201af9)
    TEST_ADDIU(0x413521cd, 0x00005af3, 0x41357cc0)
    TEST_ADDIU(0xf942b889, 0x0000a754, 0xf9425fdd)
    TEST_ADDIU(0x95c85a75, 0x00003e7a, 0x95c898ef)
    TEST_ADDIU(0x13a4dae4, 0x00008a10, 0x13a464f4)
    TEST_ADDIU(0xf9d800d5, 0x00006068, 0xf9d8613d)
    TEST_ADDIU(0x92f449dc, 0x0000cda8, 0x92f41784)
    TEST_ADDIU(0xfa0b0026, 0x00001889, 0xfa0b18af)
    TEST_ADDIU(0x15892801, 0x00000153, 0x15892954)
    TEST_ADDIU(0x2db23428, 0x0000fe28, 0x2db23250)
    TEST_ADDIU(0x37f34bc0, 0x00009eef, 0x37f2eaaf)
    TEST_ADDIU(0xf255bd3a, 0x0000a78a, 0xf25564c4)
    TEST_ADDIU(0x9cd6cee0, 0x0000cfe6, 0x9cd69ec6)
    TEST_ADDIU(0x8eed6ee0, 0x0000e388, 0x8eed5268)
    TEST_ADDIU(0x5fa7f40e, 0x0000ad8e, 0x5fa7a19c)
    TEST_ADDIU(0x453f6835, 0x00002d20, 0x453f9555)
    TEST_ADDIU(0xbe2fbcc0, 0x00005f61, 0xbe301c21)
    TEST_ADDIU(0x9caebf50, 0x0000e4f4, 0x9caea444)
    TEST_ADDIU(0x681e3880, 0x0000a844, 0x681de0c4)
    TEST_ADDIU(0xbc9e2590, 0x00009da0, 0xbc9dc330)
    TEST_ADDIU(0xf7e4c560, 0x00009770, 0xf7e45cd0)
    TEST_ADDIU(0x236b5f48, 0x00007a2c, 0x236bd974)
    TEST_ADDIU(0x657ecb50, 0x00009638, 0x657e6188)
    TEST_ADDIU(0xcf5a4c40, 0x00006120, 0xcf5aad60)
    TEST_ADDIU(0xc1c8b910, 0x0000fe88, 0xc1c8b798)
    TEST_ADDIU(0x20c08ea3, 0x000091f4, 0x20c02097)
    TEST_ADDIU(0x12e11034, 0x00001b5e, 0x12e12b92)
    TEST_ADDIU(0x5c1b4e84, 0x0000a942, 0x5c1af7c6)
    TEST_ADDIU(0x279abf50, 0x00000cdf, 0x279acc2f)
    TEST_ADDIU(0x82dad2e0, 0x00003494, 0x82db0774)
    TEST_ADDIU(0x0685d5f1, 0x0000e080, 0x0685b671)
    TEST_ADDIU(0xb8e07600, 0x0000ec28, 0xb8e06228)
    TEST_ADDIU(0xc275682c, 0x0000a6d4, 0xc2750f00)
    TEST_ADDIU(0x09031460, 0x000050e4, 0x09036544)
    TEST_ADDIU(0x581aea86, 0x0000c13a, 0x581aabc0)
    TEST_ADDIU(0x4da500c0, 0x000059c0, 0x4da55a80)
    TEST_ADDIU(0x0eaa8f57, 0x0000de72, 0x0eaa6dc9)
    TEST_ADDIU(0x2caf7a30, 0x0000fd20, 0x2caf7750)
    TEST_ADDIU(0x59864278, 0x00003fe4, 0x5986825c)
    TEST_ADDIU(0xc247db80, 0x0000e912, 0xc247c492)
    TEST_ADDIU(0x05d6d3d4, 0x0000fe96, 0x05d6d26a)
    TEST_ADDIU(0xc9d0debe, 0x0000da20, 0xc9d0b8de)
    TEST_ADDIU(0x45d73c60, 0x00001b58, 0x45d757b8)
    TEST_ADDIU(0x33dbed5c, 0x0000d18f, 0x33dbbeeb)
    TEST_ADDIU(0x57945512, 0x0000eda8, 0x579442ba)
    TEST_ADDIU(0xd5c7d9c0, 0x0000a5bf, 0xd5c77f7f)
    TEST_ADDIU(0xe2287446, 0x00003264, 0xe228a6aa)
    TEST_ADDIU(0xef90df60, 0x0000722b, 0xef91518b)
    TEST_ADDIU(0x0026eb78, 0x0000703f, 0x00275bb7)
    TEST_ADDIU(0xe4e68290, 0x00005b54, 0xe4e6dde4)
    TEST_ADDIU(0x86cbcf82, 0x0000d7b7, 0x86cba739)
    TEST_ADDIU(0x583add44, 0x0000dab5, 0x583ab7f9)
    TEST_ADDIU(0x7162d9db, 0x00004c3c, 0x71632617)
    TEST_ADDIU(0x719aa720, 0x0000b04c, 0x719a576c)
    TEST_ADDIU(0xf3b9d2b6, 0x000071cb, 0xf3ba4481)
    TEST_ADDIU(0xa754ebc4, 0x0000b634, 0xa754a1f8)
    TEST_ADDIU(0x1d028f7a, 0x000092c2, 0x1d02223c)
    TEST_ADDIU(0xd8a1f99a, 0x000027d0, 0xd8a2216a)
    TEST_ADDIU(0xb8d667a8, 0x0000a04c, 0xb8d607f4)
    TEST_ADDIU(0xb22f7acc, 0x00000000, 0xb22f7acc)
    TEST_ADDIU(0x5a288da8, 0x00000000, 0x5a288da8)
    TEST_ADDIU(0x157547f6, 0x00000000, 0x157547f6)
    TEST_ADDIU(0xde6e6dc0, 0x00000000, 0xde6e6dc0)
    TEST_ADDIU(0xdd976932, 0x00000000, 0xdd976932)
    TEST_ADDIU(0x750b7770, 0x00000000, 0x750b7770)
    TEST_ADDIU(0x30facedd, 0x00000000, 0x30facedd)
    TEST_ADDIU(0x8711c800, 0x00000000, 0x8711c800)
    TEST_ADDIU(0x1eb83475, 0x00000000, 0x1eb83475)
    TEST_ADDIU(0x31d4139c, 0x00000000, 0x31d4139c)
    TEST_ADDIU(0xb04c1e46, 0x00000000, 0xb04c1e46)
    TEST_ADDIU(0x2a6e3a12, 0x00000000, 0x2a6e3a12)
    TEST_ADDIU(0x30a8382a, 0x00000000, 0x30a8382a)
    TEST_ADDIU(0x437a1fa6, 0x00000000, 0x437a1fa6)
    TEST_ADDIU(0xc2f3b8b8, 0x00000000, 0xc2f3b8b8)
    TEST_ADDIU(0x4211695a, 0x00000000, 0x4211695a)
    TEST_ADDIU(0x31ae7e30, 0x00000000, 0x31ae7e30)
    TEST_ADDIU(0x9353093a, 0x00000000, 0x9353093a)
    TEST_ADDIU(0xbe8aa900, 0x00000000, 0xbe8aa900)
    TEST_ADDIU(0x80c723ca, 0x00000000, 0x80c723ca)
    TEST_ADDIU(0xb327f7c9, 0x00000000, 0xb327f7c9)
    TEST_ADDIU(0x8f557599, 0x00000000, 0x8f557599)
    TEST_ADDIU(0x33f02450, 0x00000000, 0x33f02450)
    TEST_ADDIU(0xa4a52458, 0x00000000, 0xa4a52458)
    TEST_ADDIU(0x2e527090, 0x00000000, 0x2e527090)
    TEST_ADDIU(0x86ffd3dc, 0x00000000, 0x86ffd3dc)
    TEST_ADDIU(0xc6479348, 0x00000000, 0xc6479348)
    TEST_ADDIU(0xfeb9209d, 0x00000000, 0xfeb9209d)
    TEST_ADDIU(0xf8caf9a4, 0x00000000, 0xf8caf9a4)
    TEST_ADDIU(0xef30ffee, 0x00000000, 0xef30ffee)
    TEST_ADDIU(0x850e19af, 0x00000000, 0x850e19af)
    TEST_ADDIU(0xfa5cb710, 0x00000000, 0xfa5cb710)
    TEST_ADDIU(0x394e5640, 0x00000000, 0x394e5640)
    TEST_ADDIU(0x49ceac94, 0x00000000, 0x49ceac94)
    TEST_ADDIU(0x23ae136b, 0x00000000, 0x23ae136b)
    TEST_ADDIU(0xf650e782, 0x00000000, 0xf650e782)
    TEST_ADDIU(0x983cad00, 0x00000000, 0x983cad00)
    TEST_ADDIU(0xe2d9dc60, 0x00000000, 0xe2d9dc60)
    TEST_ADDIU(0xf330af04, 0x00000000, 0xf330af04)
    TEST_ADDIU(0x12083540, 0x00000000, 0x12083540)
    TEST_ADDIU(0x69b7ad10, 0x00000000, 0x69b7ad10)
    TEST_ADDIU(0xba2ff17b, 0x00000000, 0xba2ff17b)
    TEST_ADDIU(0x815af0b8, 0x00000000, 0x815af0b8)
    TEST_ADDIU(0xf151eb5e, 0x00000000, 0xf151eb5e)
    TEST_ADDIU(0x9e017cd0, 0x00000000, 0x9e017cd0)
    TEST_ADDIU(0x26dc5d6c, 0x00000000, 0x26dc5d6c)
    TEST_ADDIU(0x6b084f04, 0x00000000, 0x6b084f04)
    TEST_ADDIU(0x0b7a672e, 0x00000000, 0x0b7a672e)
    TEST_ADDIU(0x7336a640, 0x00000000, 0x7336a640)
    TEST_ADDIU(0x15b5a838, 0x00000000, 0x15b5a838)
    TEST_ADDIU(0x00000000, 0x0000de9e, 0xffffde9e)
    TEST_ADDIU(0x00000000, 0x000005c8, 0x000005c8)
    TEST_ADDIU(0x00000000, 0x0000426f, 0x0000426f)
    TEST_ADDIU(0x00000000, 0x000080d1, 0xffff80d1)
    TEST_ADDIU(0x00000000, 0x0000c9e4, 0xffffc9e4)
    TEST_ADDIU(0x00000000, 0x00004c6e, 0x00004c6e)
    TEST_ADDIU(0x00000000, 0x00004a51, 0x00004a51)
    TEST_ADDIU(0x00000000, 0x0000bda0, 0xffffbda0)
    TEST_ADDIU(0x00000000, 0x00009c4a, 0xffff9c4a)
    TEST_ADDIU(0x00000000, 0x0000220a, 0x0000220a)
    TEST_ADDIU(0x00000000, 0x0000ec20, 0xffffec20)
    TEST_ADDIU(0x00000000, 0x00004410, 0x00004410)
    TEST_ADDIU(0x00000000, 0x000008e6, 0x000008e6)
    TEST_ADDIU(0x00000000, 0x00000346, 0x00000346)
    TEST_ADDIU(0x00000000, 0x000049a4, 0x000049a4)
    TEST_ADDIU(0x00000000, 0x00000bd9, 0x00000bd9)
    TEST_ADDIU(0x00000000, 0x0000edc4, 0xffffedc4)
    TEST_ADDIU(0x00000000, 0x00008a98, 0xffff8a98)
    TEST_ADDIU(0x00000000, 0x000067ea, 0x000067ea)
    TEST_ADDIU(0x00000000, 0x0000d9e0, 0xffffd9e0)
    TEST_ADDIU(0x00000000, 0x00009680, 0xffff9680)
    TEST_ADDIU(0x00000000, 0x000027ba, 0x000027ba)
    TEST_ADDIU(0x00000000, 0x000038e0, 0x000038e0)
    TEST_ADDIU(0x00000000, 0x000051ee, 0x000051ee)
    TEST_ADDIU(0x00000000, 0x000016f0, 0x000016f0)
    TEST_ADDIU(0x00000000, 0x0000db80, 0xffffdb80)
    TEST_ADDIU(0x00000000, 0x0000a460, 0xffffa460)
    TEST_ADDIU(0x00000000, 0x00009088, 0xffff9088)
    TEST_ADDIU(0x00000000, 0x0000b28f, 0xffffb28f)
    TEST_ADDIU(0x00000000, 0x0000fe86, 0xfffffe86)
    TEST_ADDIU(0x00000000, 0x000022ff, 0x000022ff)
    TEST_ADDIU(0x00000000, 0x000012f0, 0x000012f0)
    TEST_ADDIU(0x00000000, 0x00007306, 0x00007306)
    TEST_ADDIU(0x00000000, 0x0000e0f5, 0xffffe0f5)
    TEST_ADDIU(0x00000000, 0x00009ac4, 0xffff9ac4)
    TEST_ADDIU(0x00000000, 0x0000a791, 0xffffa791)
    TEST_ADDIU(0x00000000, 0x000012bb, 0x000012bb)
    TEST_ADDIU(0x00000000, 0x00003c54, 0x00003c54)
    TEST_ADDIU(0x00000000, 0x00006e5c, 0x00006e5c)
    TEST_ADDIU(0x00000000, 0x00008031, 0xffff8031)
    TEST_ADDIU(0x00000000, 0x0000cabc, 0xffffcabc)
    TEST_ADDIU(0x00000000, 0x0000c1d2, 0xffffc1d2)
    TEST_ADDIU(0x00000000, 0x00000f2d, 0x00000f2d)
    TEST_ADDIU(0x00000000, 0x00003e98, 0x00003e98)
    TEST_ADDIU(0x00000000, 0x00004dea, 0x00004dea)
    TEST_ADDIU(0x00000000, 0x000094ca, 0xffff94ca)
    TEST_ADDIU(0x00000000, 0x0000c878, 0xffffc878)
    TEST_ADDIU(0x00000000, 0x000004a0, 0x000004a0)
    TEST_ADDIU(0x00000000, 0x0000d6d9, 0xffffd6d9)
    TEST_ADDIU(0x00000000, 0x0000cdc8, 0xffffcdc8)
    TEST_ADDIU(0x00000000, 0x00000000, 0x00000000)
###detect exception
    bne s2, zero, inst_error
    nop
###score ++
    addiu s3, s3, 1
###output (s0<<24)|s3
inst_error:  
    sll t1, s0, 24
    NOP4
    or t0, t1, s3 
    NOP4
    sw t0, 0(s1)
    jr ra
    nop
END(n3_addiu_test)
